This zip file contains all materials needed to replicate the analyses in
"Shallow Commitments May Bite Deep: Domestic Politics and Flexibility in International Cooperation"

The zip file contains the following files:

- 0.0_ReadMe (this file)
- 1.0_shallow_commitments_replication_main.R: Use this file to replicate the main analysis
  and reproduce Table 1, Figure 1, and Figure 2.
- 1.1_shallow_commitments_data_main.dta: Data file used for the main analysis.
- 2.0_shallow_commitments_replication_selection.do: Use this file to replicate the Heckman
  probit models and reproduce Table 2 (analysis run using Stata 14).
- 2.1_shallow_commitments_data_selection.dta: Data file used for the Heckman probit models.
- 3.0_shallow_commitments_replication_appendix.R: Use this file to replicate all analyses
  reported in the online appendix and reproduce Tables A1-A4.

List of Variables in 1.1_shallow_commitments_data_main.dta:
- ccode: COW Country Code
- year: Year of Observation
- statenme: State Name
- res_withdraw: 1 for year in which the state withdrew at least one reservation to CEDAW, 0 otherwise
  Source: United Nations Treaty Collection (https://treaties.un.org/Pages/ViewDetails.aspx?src=TREATY&mtdsg_no=IV-8&chapter=4),
  see main paper and online appendix for coding rules.
- t_with: Number of years since ratification of CEDAW or since the last withdrawal
- t_with2: t_with squared
- t_with3: t_with cubed
- dem: 1 for year in which the state's Polity 2 score was >= 6, 0 otherwise
  Source: Marshall, Monty G., Ted Robert Gurr, and Keith Jaggers. 2016. “Polity IV Project DatasetUsers’ Manual, v.2015.”
  Polity IV Project, 1–86. doi:10.1177/0738894213499673.
- conc_obs_lag: 1 for year in which the state's CEDAW report was considered in the previous year, 0 otherwise
  Source: Committee on the Elimination of Discrimination against Women (https://www.ohchr.org/en/hrbodies/cedaw/pages/cedawindex.aspx)
- sols_lag: 1 for year in which the country experienced at least one leadership transition in which the new leader draws support
  from a societal group different from that of her predecessor that lasted longer than 30 days during the previous year, 0 otherwise
  Source: Mattes, Michaela, Brett Ashley Leeds, and Naoko Matsumura. 2016. “Measuring change insource  of  leader  support:
  The  CHISOLS  dataset.” Journal  of  Peace  Research 53 (2):259–267. doi: 10.1177/0022343315625760.
- total: total number of reservations entered by the state upon ratification of CEDAW
  Source: UNTC; see res_withraw
- conc_dem: interaction term for dem & conc_obs_lag
- res_events: number of recorded withdrawal events since CEDAW entered into force
  Source: UNTC; see res_withraw
- wrindex_lag: sum of CIRI women's social, political, and economic rights indicators in the previous year
  Source: Cingranelli, David L., and David L. Richards. 2010. “The Cingranelli and Richards (CIRI) Human Rights
  Data Project.” Human Rights Quarterly 32 (2): 401–424.
- wri_diff_lag: difference between wrindex_lag in the given year and wrindex_lag in the previous year
- wri_diff_rat_lag: difference between wrindex_lag in the given year and wrindex_lag in the year the state ratified CEDAW
- common_law: 1 for countries with a common law legal tradition, 0 otherwise
  Source: Powell, Emilia Justyna, and Sara McLaughlin Mitchell. 2007. “The International Court of Justice and the World’s
  Three Legal Systems.” The Journal of Politics 69 (2): 397–415. doi: 10.1111/j.1468-2508.2007.00539.x
- civil_law: 1 for countries with a civil law legal tradition, 0 otherwise
  Source: Powell and Mitchell 2007
- islamic_law: 1 for countries with an Islamic law legal tradition, 0 otherwise
  Source: Powell and Mitchell 2007
- mixed_law: 1 for countries with a mixed legal tradition, 0 otherwise
  Source: Powell and Mitchell 2007
- art2_16: 1 for year in which the state maintained a reservation to articles 2 or 16 of CEDAW, 0 otherwise
  Source: UNTC; see res_withdraw
- t_rat: number of years since ratification of CEDAW
  Source: UNTC; see res_withdraw
- v2x_polyarchy: electoral democracy index from the Varieties of Democracy Project
  Source: Coppedge,  Michael,  John  Gerring,  Carl  Henrik  Knutsen,  Staffan  I.  Lindberg,
  Svend-Erik Skaaning, Jan Toerrell, David Altman, et al. 2018. “V-Dem Codebook v8.” Varieties ofDemocracy (V-Dem) Project.
- v2x_gender: women political empowerment index from the Varieties of Democracy Project
  Source: Coppedge et al. 2018; see v2x_polyarchy
- v2x_poly_lag: electoral democracy index in the previous year
- v2x_gender_lag: women political empowerment index in the previous year
- v2x_gender_diff: difference between v2x_gender and v2x_gender_lag
- v2x_gender_diff_lag: difference between v2x_gender and v2x_gender_lag in the previous year
- v2x_gender_rat: v2x_gender at year of ratification of CEDAW
- v2x_gender_diff_rat_lag: difference between v2x_gender and v2x_gender_rat in the previous year
- highdem: 1 for year in which v2x_polyarchy is greater than or equal to the median (0.56), 0 otherwise (see online appendix)
- conc_hd: interaction term for highdem & conc_obs_lag


List of Variables in 2.1_shallow_commitments_data_selection.dta:
- ccode: COW Country Code
- year: Year of Observation
- statenme: State Name
- res_withdraw: 1 for year in which the state withdrew at least one reservation to CEDAW, 0 otherwise
  Source: United Nations Treaty Collection (https://treaties.un.org/Pages/ViewDetails.aspx?src=TREATY&mtdsg_no=IV-8&chapter=4),
  see main paper and online appendix for coding rules.
- in_samp: 1 for year in which the state maintained at least one reservation to CEDAW, 0 otherwise
  Source: UNTC; see res_withdraw
- t_ced: Number of years since CEDAW opened for signature
- t_ced2: t_ced squared
- t_ced3: t_ced cubed
- t_with: Number of years since ratification of CEDAW or since the last withdrawal
- t_with2: t_with squared
- t_with3: t_with cubed
- dem: 1 for year in which the state's Polity 2 score was >= 6, 0 otherwise
  Source: Marshall, Monty G., Ted Robert Gurr, and Keith Jaggers. 2016. “Polity IV Project DatasetUsers’ Manual, v.2015.”
  Polity IV Project, 1–86. doi:10.1177/0738894213499673.
- conc_obs_lag: 1 for year in which the state's CEDAW report was considered in the previous year, 0 otherwise
  Source: Committee on the Elimination of Discrimination against Women (https://www.ohchr.org/en/hrbodies/cedaw/pages/cedawindex.aspx)
- conc_dem: interaction term for dem & conc_obs_lag
- sols_lag: 1 for year in which the country experienced at least one leadership transition in which the new leader draws support
  from a societal group different from that of her predecessor that lasted longer than 30 days during the previous year, 0 otherwise
  Source: Mattes, Michaela, Brett Ashley Leeds, and Naoko Matsumura. 2016. “Measuring change insource  of  leader  support:
  The  CHISOLS  dataset.” Journal  of  Peace  Research 53 (2):259–267. doi: 10.1177/0022343315625760.
- total: total number of reservations entered by the state upon ratification of CEDAW
  Source: UNTC; see res_withraw
- res_events: number of recorded withdrawal events since CEDAW entered into force
  Source: UNTC; see res_withraw
- common_law: 1 for countries with a common law legal tradition, 0 otherwise
  Source: Powell, Emilia Justyna, and Sara McLaughlin Mitchell. 2007. “The International Court of Justice and the World’s
  Three Legal Systems.” The Journal of Politics 69 (2): 397–415. doi: 10.1111/j.1468-2508.2007.00539.x
- civil_law: 1 for countries with a civil law legal tradition, 0 otherwise
  Source: Powell and Mitchell 2007
- islamic_law: 1 for countries with an Islamic law legal tradition, 0 otherwise
  Source: Powell and Mitchell 2007
- mixed_law: 1 for countries with a mixed legal tradition, 0 otherwise
  Source: Powell and Mitchell 2007
- gdppc_log: GDP per capita, logged
  Source: World Bank Data (https://data.worldbank.org/indicator/NY.GDP.PCAP.KD)
- wrindex_lag: sum of CIRI women's social, political, and economic rights indicators in the previous year
  Source: Cingranelli, David L., and David L. Richards. 2010. “The Cingranelli and Richards (CIRI) Human Rights
  Data Project.” Human Rights Quarterly 32 (2): 401–424.
- wri_diff_rat_lag: difference between wrindex_lag in the given year and wrindex_lag in the year the state ratified CEDAW
- v2x_gender_lag: women political empowerment index in the previous year
  Source: Coppedge,  Michael,  John  Gerring,  Carl  Henrik  Knutsen,  Staffan  I.  Lindberg,  
  Svend-Erik Skaaning, Jan Toerrell, David Altman, et al. 2018. “V-Dem Codebook v8.” Varieties ofDemocracy (V-Dem) Project.
- v2x_gender_diff_rat_lag: difference between v2x_gender and v2x_gender_rat in the previous year
